﻿using Bot.Domain.Entities;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class GreetingMessageInChannelFilterSpecification : BaseSpecification<GreetingMessageInChannel>
    {
        public GreetingMessageInChannelFilterSpecification(Guid botId)
            : base(i => i.BotId == botId)
        {

        }
        public GreetingMessageInChannelFilterSpecification(Guid botId, string channel)
            : base(i => i.BotId == botId && i.Channel == channel)
        {

        }
    }
}
